createTestUser
fun createTestUser(id: String = UUID.randomUUID().toString(), name: String = "Default", surname: String = "User", email: String = UUID.randomUUID().toString() + "@example.com", password: String = "password123"): User
Creates a test user with the provided parameters or default values.
Return
A User object with the specified or default values.
Parameters
id
The ID of the user. Default is an uuid string.
name
The name of the user. Default is "Default".
surname
The surname of the user. Default is "User".
email
The email of the user. Default is "random-uuid@example.com".
password
The password of the user. Default is "password123".